import { defineStore } from "pinia";
import { ref } from 'vue';

export const useMdV3CatalogStore = defineStore('yunzhou_mdV3Catalog', () => {
  const mdV3Catalog = ref()

  const getMdV3Catalog = () => {
    return mdV3Catalog.value
  }

  const setMdV3Catalog = (catalog) => {
    mdV3Catalog.value = catalog
  }

  const removeMdV3Catalog = () => {
    mdV3Catalog.value = false
  }

  return { mdV3Catalog, getMdV3Catalog, setMdV3Catalog, removeMdV3Catalog }
});